package com.js.auth.server.module.client.service;

import com.js.auth.server.module.client.entity.AuthClient;
import com.js.common.service.BaseService;

/**
 * @author ygl
 * @create 2018-10-31
 * @DESCRIPTION
 **/
public interface AuthClientService extends BaseService<AuthClient> {

    /**
     * 校验客户端合法性
     * @param clientId 客户端ID
     * @param secret   客户端秘钥
     * @throws Exception
     */
    void validate(String clientId, String secret) throws Exception;

    void modifyClientServices(String id, String clients);

    Object getClientServices(String id);
}
